package router

import (
	"github.com/gin-gonic/gin"
	"go_study/user_web/api"
	middlewares "go_study/user_web/middleware"
)

func  InitialUserRooter(Router *gin.RouterGroup)  {
	UserRouter := Router.Group("user")
	{
		UserRouter.GET("list", middlewares.JWTAuth(), api.GetUserList)
		UserRouter.POST("pwd_login", api.PasswordLogin)
	}
}
